package Entities

import "time"

type Favorite struct {
	ID        int       `gorm:"primaryKey"`
	Av        string    `gorm:"size:20;index"`
	Username  string    `gorm:"size:50;index"`
	Favorited bool      `gorm:"default:false"`
	Modified  time.Time `gorm:"autoUpdateTime"`
}

func (Favorite) TableName() string {
	return "favorites"
}
